From f911d17e562305bc6964a430b2be25cf5cad22b6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 9 Nov 2013 19:00:17 -0500 Subject: [PATCH] Test duplicate shortcuts Add an application shortcut for the Music folder in testfilechooser. The file chooser used to filter duplicates out, but this broke in the sidebar merge. --- tests/testfilechooser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 2f92f3228d..4d86e79e7e 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -674,6 +674,9 @@ main (int argc, char **argv) gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog), "file:///usr/share/pixmaps", NULL); + gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), + g_get_user_special_dir (G_USER_DIRECTORY_MUSIC), + NULL); /* Initial filename or folder */ -- 2.30.2